home *** CD-ROM | disk | FTP | other *** search
- #
- # This script was written by Renaud Deraison
- #
- #
- # See the Nessus Scripts License for details
- #
-
- account = "root";
-
- if(description)
- {
- script_id(11245);
- script_version ("$Revision: 1.4 $");
- script_cve_id("CAN-1999-0502");
-
- script_name(english:string("Unpassworded ", account, " account"));
-
-
- script_description(english:string("
- The account '", account, "' has no password set !
-
- Risk factor : High
- Solution : Set a password for this account or disable it"));
-
- script_summary(english:"Logs into the remote host",
- francais:"Translate");
-
- script_category(ACT_GATHER_INFO);
-
- script_family(english:"Default Unix Accounts");
-
- script_copyright(english:"This script is Copyright (C) 2003 Renaud Deraison");
-
-
- script_dependencie("find_service.nes");
- script_require_ports("Services/telnet", 23, "Services/ssh", 22);
- exit(0);
- }
-
- #
- # The script code starts here :
- #
- include("ssh_func.inc");
- include("default_account.inc");
-
- port = check_account(login:account);
- if(port)security_hole(port);
-